package com.example.vo.process.com;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import java.util.Date;
import java.util.Map;

/**
 * 流程节点信息
 * @author wsl
 */
@Data
@Accessors(chain = true)
public class ProNode {

    @ApiModelProperty("节点名称")
    private String nodeName;

    @ApiModelProperty("开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    private Date startTime;

    @ApiModelProperty("结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    private Date endTime;

    @ApiModelProperty("所有时间毫秒数")
    private Long durationMillisecond;

    @ApiModelProperty("代理人姓名")
    private String assigneeName;

    @ApiModelProperty("代理人")
    private String assignee;

    @ApiModelProperty("节点参数")
    private Map<String,Object> variables;
}
